# coding:utf-8
'''
Created on 2010-1-2

@author: Jason Green
@author-email: guileen@gmail.com
'''
from django.contrib.auth.decorators import permission_required
from django.views.generic import list_detail
from djangosnippets.contrib.bench.models import TimeCost
@permission_required("time_cost.view")
def overview(request):
    return None

@permission_required("time_cost.view")
def view_request(request):
    return None

@permission_required("time_cost.view")
def view_middleware(request):
    return None

@permission_required("time_cost.view")
def bench_list(request):
    return list_detail.object_list(request, TimeCost.objects.all(), 30)
